Book Contents

Example: Use a multistate indicator

In these examples, the multistate indicator shows the status of a discharge screw for a bag filler machine. The discharge screw has three states: Off, Running, and Faulted.

These examples show three different methods of achieving the same results. When designing your own project, use the method that best fits your overall design.

Method 1: Use text to indicate the states

Create a multistate indicator with the captions "Off" for State 0, "Running" for State 1, and "Faulted" for State 2. Select the border style None, the back style Transparent, and caption colors that reflect each state. For example, use gray for State 0, green for State 1, and red for State 2.

Method 2: Use an image that changes colors to indicate the states

Create a multistate indicator with a monochrome image of the discharge screw on each state. Select an image color of gray for State 0, green for State 1, and red for State 2.

Tip:

You would typically use the symbol indicator object if you want to use the same monochrome image on all states. The advantages of using the multistate indicator are that you can use a different image for each state, the images can have more than two colors, and you can add a caption to each state as well.

Method 3: Using color by itself to indicate the states

Create a multistate indicator with no images or captions. Place the indicator beside text or an image of the discharge screw and select the back color gray for State 0, green for State 1, and red for State 2.

See also

Create multistate indicators

How the multistate indicator works at run time

Configure the multistate indicator

Set up states for the multistate indicator

Set up controls for the multistate indicator

Causes of run-time errors for the multistate indicator